package cn.lysj.framework.foodv2.controller;

import cn.lysj.framework.base.BaseController;
import cn.lysj.framework.foodv2.domain.FoodTypeAndFoodContact;
import cn.lysj.framework.foodv2.service.FoodTypeAndFoodContactService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;

/**
 * @author drj
 * @description 食物与品类联系控制层
 * @create 2018-11-12 11:21:56
 **/
@Slf4j
@RestController
@Api(description = "食物与品类联系管理接口")
@RequestMapping("/food_type_and_food_contact")
public class FoodTypeAndFoodContactController extends BaseController<FoodTypeAndFoodContact>{

    @Resource
    private FoodTypeAndFoodContactService foodTypeAndFoodContactService;

    @Override
    public FoodTypeAndFoodContactService getService() {
        return foodTypeAndFoodContactService;
    }

}
